package com.itheima.health.service;

import com.itheima.health.entity.PageResult;
import com.itheima.health.entity.QueryPageBean;
import com.itheima.health.pojo.Role;

import java.util.List;

public interface RoleService {

    List<Integer> selectPermissionIdsOfARole(int id);

    void add(Role role);

    void delete(Integer id);

    void update(Role role);

    Role select(Integer id);

    PageResult selectPage(QueryPageBean queryPageBean);

    List<Role> selectAll();
}
